import  bs4 as bs
import urllib
sauce = urllib.urlopen('https://pythonprogramming.net/parsememcparseface/').read()

soup = bs.BeautifulSoup(sauce,'lxml')

v1=soup.find('table')
table_row = v1.find_all('tr')

for tr in table_row:
    td = tr.find_all('td')
    row = [i.text for i in td]
    #print row

sauce2 = urllib.urlopen('https://pythonprogramming.net/sitemap.xml').read()

soup2 = bs.BeautifulSoup(sauce2,'lxml')

for url1 in soup2.find_all('loc'):
    print url1.text
